package com.sali.application.order;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: sali
 * @date: 2024/7/21 下午3:01.
 * @version: 1.0
 */
@Service
@Slf4j
public class OrderService {


    public boolean makeOrder(Long userId, Long productId) {
        log.info("用户：{}，下单产品ID是：{},并扣减库存", userId, productId);
        return true;
    }

}
